/*
 * @Author: yushuaixm
 */
const { http } = uni.$zz

export const indexNews = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/news/indexNews', params, config)


export const readNews = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/news/readNews', params, config)


export const pagesNews = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/news/pagesNews', params, config)



export default { indexNews, readNews, pagesNews };